home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / SOM / OpenDoc and SOM / IDL / ClipbdB.idl < prev    next >
Encoding:
Text File  |  1994-04-19  |  1.6 KB  |  74 lines  |  [TEXT/MPS ]

  1. //# Copyright:    © 1993-94 by Apple Computer, Inc., all rights reserved.
  2. #ifndef _CLIPBDB_
  3. #define _CLIPBDB_
  4.  
  5. #ifndef _ODOBJECT_
  6. #include "ODObject.idl"
  7. #endif
  8.  
  9. //=====================================================================================
  10. // Classes defined in this interface
  11. //=====================================================================================
  12.  
  13. interface  ODBaseClipboard;
  14.  
  15. //=====================================================================================
  16. // Classes used by this interface
  17. //=====================================================================================
  18.  
  19. interface  ODStorageUnit;
  20. interface  ODDraft;
  21. interface  ODDocument;
  22. interface  ODContainer;
  23. interface  ODSession;
  24. interface  ODPlatformTypeList;
  25.  
  26. //=====================================================================================
  27. // ODClipboard
  28. //=====================================================================================
  29.  
  30.  
  31. interface ODBaseClipboard :  ODObject
  32. {
  33.     ODBoolean Lock(in ODULong wait,
  34.                     in ODClipboardKey key);
  35.                            
  36.     void Unlock(in ODClipboardKey key);
  37.     
  38.     ODChangeID GetChangeID();
  39.                           
  40.     void Clear(in ODClipboardKey key);
  41.     
  42.     ODStorageUnit  GetContentStorageUnit(in ODClipboardKey key);
  43.     
  44.     void SetPlatformClipboard(in ODPlatformTypeList typeList,
  45.                                 in ODClipboardKey key);
  46.     
  47.     void ExportClipboard(in ODClipboardKey key);
  48.  
  49.  
  50. #ifdef __SOMIDL__
  51.     implementation
  52.     {
  53.         override:
  54.             somInit,
  55.             somUninit;
  56.             
  57.         releaseorder:
  58.             Lock,
  59.             Unlock,
  60.             GetChangeID,
  61.             Clear,
  62.             GetContentStorageUnit,
  63.             SetPlatformClipboard,
  64.             ExportClipboard,
  65.             reserved1;
  66.  
  67.         majorversion = 1; minorversion = 0;
  68.  
  69.   };
  70. #endif
  71. };
  72.  
  73. #endif // _CLIPBDB_
  74.